<?php defined('BASEPATH') OR exit('No direct script access allowed');
/*
 * author  : hatran
 * email   : ha.tran@citigovietnam.com
 * version : 1.0
 * */

class Home extends Controller{

  	function __construct(){
		parent::__construct();
		
		$this->load->model('home_model');
	}
	
	
    
    
	function index(){
		$data['home_top_content']		=		$this->home_model->get_content_home_top();
		$data['home_bottom_content']	=		$this->home_model->get_content_home_bottom();
		$data['hit_news']				=		$this->home_model->get_hit_news();

		
		$data['content'] = 'index';
		$this->load->view('front_end/index', $data);
	}
}